home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 June
/
EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso
/
earcd
/
cmdity
/
clicker.lha
/
Clicker
/
Source
/
sample.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-05-17
|
842b
|
29 lines
/* File: sample.c
* Created: 07-04-96
* Updated: 17-05-96
* Version: 1.3
* Project: Clicker
* Owner: Jeroen Vermeulen
* Requirements: KickStart V39+
* Legal: PD
* Status: Release
*/
#include "sample.h"
/* NOTE: THE DATA IN THIS FILE MUST BE COMPILED FOR *CHIP* MEMORY */
/* Define CHIPMEM_DIRECTIVE to __chip or whatever your compiler needs to put a
* variable in CHIP memory.
*/
/* This one's for StormC: */
#pragma chip
/* Here's our basic built-in sample. It's a very crude sine wave but it should
* do for those very short intervals.
* NOTE: SAMPLELENGTH must be defined to the length of this array!
*/
CHIPMEMDIRECTIVE
const signed char Sample[SAMPLELENGTH] = { 0, 60, 100, 127, 100, 60,
0, -60, -100, -127, -100, -60 };